package com.woniu.gf.pawn.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniu.gf.pawn.comm.core.domain.Product;
import com.woniu.gf.pawn.comm.core.domain.ProductProperty;
import com.woniu.gf.pawn.product.parma.ShowProductPropertyParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Lucas
 * @since 2020-10-15
 */
public interface ProductPropertyMapper extends BaseMapper<ProductProperty> {



    /**
     * 查询
     */
    IPage<ShowProductPropertyParam> selectPageVo(Page<ShowProductPropertyParam> page, @Param("propertyName") String propertyName);


    /**
     * 删除属性
     */
    void deleteProductProperty(List<Integer> ids);
}
